package org.fastframework.test.Service;

import org.fastframework.boot.annotation.Inject;
import org.fastframework.boot.annotation.Service;
import org.fastframework.test.annotation.SysLog;
import org.fastframework.test.entity.User;
import org.fastframework.test.mapper.UserMapper;

@Service
public class HelloService {

    @Inject
    UserMapper userMapper;

    @SysLog("获取列表")
    public User getUser(String name) {
        return userMapper.selectUser(name);
    }
}
